package Controller;

import Model.Book;
import View.ReserveBookView;
import com.twu.biblioteca.BibliotecaApp;

public class ReserveBookController {
    ReserveBookView reserveBookView = new ReserveBookView();

    public void reserveBook(){
        int bookId;
        Book book;
        bookId = reserveBookView.getBookId();
        book = BibliotecaApp.library.reserveBookWithId(bookId);
        reserveBookView.printReserveMessage(book);
    }
}
